<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Chameleon-Mini: Log.h File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Chameleon-Mini
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_74b6a3b63f61c160c0f14b7a283a4c9b.html">Firmware</a></li><li class="navelem"><a class="el" href="dir_8465ec698d237f801ae9966d4551fcfa.html">Chameleon-Mini</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#enum-members">Enumerations</a>  </div>
  <div class="headertitle">
<div class="title">Log.h File Reference</div>  </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &quot;Common.h&quot;</code><br />
</div>
<p><a href="_log_8h_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="enum-members"></a>
Enumerations</h2></td></tr>
<tr class="memitem:a34112fbd78128ae58dc7801690dfa6e0"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_log_8h.html#a34112fbd78128ae58dc7801690dfa6e0">LogEntryEnum</a> { <br />
&#160;&#160;<a class="el" href="_log_8h.html#a34112fbd78128ae58dc7801690dfa6e0a0c156342f0056e472b5ac1ff48aa41fb">LOG_INFO_GENERIC</a> = 0x10, 
<a class="el" href="_log_8h.html#a34112fbd78128ae58dc7801690dfa6e0a837ae1da35dbdeb2cc1d8b7c22a0025d">LOG_INFO_CONFIG_SET</a> = 0x11, 
<a class="el" href="_log_8h.html#a34112fbd78128ae58dc7801690dfa6e0a1e360efb165c04ce7282511f80337483">LOG_INFO_SETTING_SET</a> = 0x12, 
<a class="el" href="_log_8h.html#a34112fbd78128ae58dc7801690dfa6e0a54d679e676c487407959422049e43956">LOG_INFO_UID_SET</a> = 0x13, 
<br />
&#160;&#160;<a class="el" href="_log_8h.html#a34112fbd78128ae58dc7801690dfa6e0a27bb078ecb411f03d2a81fb68d2644c8">LOG_INFO_RESET_APP</a> = 0x20, 
<a class="el" href="_log_8h.html#a34112fbd78128ae58dc7801690dfa6e0a3b67fcd03ff3cc80231df3b7d9211380">LOG_INFO_CODEC_RX_DATA</a> = 0x40, 
<a class="el" href="_log_8h.html#a34112fbd78128ae58dc7801690dfa6e0a40884a5af2a5bfa73ab4824a3adc71af">LOG_INFO_CODEC_TX_DATA</a> = 0x41, 
<a class="el" href="_log_8h.html#a34112fbd78128ae58dc7801690dfa6e0a84aebf39984089d411b7e12158cfbcfd">LOG_INFO_CODEC_RX_DATA_W_PARITY</a> = 0x42, 
<br />
&#160;&#160;<a class="el" href="_log_8h.html#a34112fbd78128ae58dc7801690dfa6e0abbff6497a47c84b599fbf5f40e2e891e">LOG_INFO_CODEC_TX_DATA_W_PARITY</a> = 0x43
, <a class="el" href="_log_8h.html#a34112fbd78128ae58dc7801690dfa6e0acfa9b06016b1d273136c33818355b8ca">LOG_INFO_CODEC_READER_FIELD_DETECTED</a> = 0x48, 
<a class="el" href="_log_8h.html#a34112fbd78128ae58dc7801690dfa6e0a7951ddf501dad656bc39a71cff430565">LOG_INFO_APP_CMD_READ</a> = 0x80, 
<a class="el" href="_log_8h.html#a34112fbd78128ae58dc7801690dfa6e0abb646871507173fe4978b1342f238b7c">LOG_INFO_APP_CMD_WRITE</a> = 0x81, 
<br />
&#160;&#160;<a class="el" href="_log_8h.html#a34112fbd78128ae58dc7801690dfa6e0a1d26816467effc0eeda47234d4124c8a">LOG_INFO_APP_CMD_INC</a> = 0x84, 
<a class="el" href="_log_8h.html#a34112fbd78128ae58dc7801690dfa6e0a0ac7629c5bdd53c593dcefe74bad7601">LOG_INFO_APP_CMD_DEC</a> = 0x85, 
<a class="el" href="_log_8h.html#a34112fbd78128ae58dc7801690dfa6e0a3ff2f7a4ed2f210bb42e3d0a2ba45dc8">LOG_INFO_APP_CMD_TRANSFER</a> = 0x86, 
<a class="el" href="_log_8h.html#a34112fbd78128ae58dc7801690dfa6e0a8c9c625c4f49bee6e75c8f418046e09c">LOG_INFO_APP_CMD_RESTORE</a> = 0x87, 
<br />
&#160;&#160;<a class="el" href="_log_8h.html#a34112fbd78128ae58dc7801690dfa6e0ae0eb650d8a75222cc52a238fa68ececa">LOG_INFO_APP_CMD_AUTH</a> = 0x90, 
<a class="el" href="_log_8h.html#a34112fbd78128ae58dc7801690dfa6e0a3f1b700795995ca9308ca42a04bb67cb">LOG_INFO_APP_CMD_HALT</a> = 0x91, 
<a class="el" href="_log_8h.html#a34112fbd78128ae58dc7801690dfa6e0a51365dd939423069d8fe2c09f51c805b">LOG_INFO_APP_CMD_UNKNOWN</a> = 0x92, 
<a class="el" href="_log_8h.html#a34112fbd78128ae58dc7801690dfa6e0ac7581254deab15ea99afbd19bc094e04">LOG_INFO_APP_AUTHING</a> = 0xA0, 
<br />
&#160;&#160;<a class="el" href="_log_8h.html#a34112fbd78128ae58dc7801690dfa6e0a0a39a14c93925e98d015e71f8d1a2857">LOG_INFO_APP_AUTHED</a> = 0xA1, 
<a class="el" href="_log_8h.html#a34112fbd78128ae58dc7801690dfa6e0af91b96f88c44348cff7d0cc69cd55bf7">LOG_ERR_APP_AUTH_FAIL</a> = 0xC0, 
<a class="el" href="_log_8h.html#a34112fbd78128ae58dc7801690dfa6e0af565feb6368681e1ed5f4a50fda9578a">LOG_ERR_APP_CHECKSUM_FAIL</a> = 0xC1, 
<a class="el" href="_log_8h.html#a34112fbd78128ae58dc7801690dfa6e0a7c307a46c2553ef6e2ae16fc85ef9295">LOG_ERR_APP_NOT_AUTHED</a> = 0xC2, 
<br />
&#160;&#160;<a class="el" href="_log_8h.html#a34112fbd78128ae58dc7801690dfa6e0af5b5f1a9a7e2d733e4958427da66985f">LOG_INFO_SYSTEM_BOOT</a> = 0xFF, 
<a class="el" href="_log_8h.html#a34112fbd78128ae58dc7801690dfa6e0aeb7af2cca9f4eb0e7dfd62d761f23eb5">LOG_EMPTY</a> = 0x00
<br />
 }</td></tr>
<tr class="separator:a34112fbd78128ae58dc7801690dfa6e0"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Enumeration Type Documentation</h2>
<a id="a34112fbd78128ae58dc7801690dfa6e0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a34112fbd78128ae58dc7801690dfa6e0">&#9670;&nbsp;</a></span>LogEntryEnum</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="_log_8h.html#a34112fbd78128ae58dc7801690dfa6e0">LogEntryEnum</a></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Enum for log entry type. </p><dl class="section note"><dt>Note</dt><dd>Every entry type has a specific integer value, which can be found in the source code. </dd></dl>
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="a34112fbd78128ae58dc7801690dfa6e0a0c156342f0056e472b5ac1ff48aa41fb"></a>LOG_INFO_GENERIC&#160;</td><td class="fielddoc"><p>Unspecific log entry. </p>
</td></tr>
<tr><td class="fieldname"><a id="a34112fbd78128ae58dc7801690dfa6e0a837ae1da35dbdeb2cc1d8b7c22a0025d"></a>LOG_INFO_CONFIG_SET&#160;</td><td class="fielddoc"><p>Configuration change. </p>
</td></tr>
<tr><td class="fieldname"><a id="a34112fbd78128ae58dc7801690dfa6e0a1e360efb165c04ce7282511f80337483"></a>LOG_INFO_SETTING_SET&#160;</td><td class="fielddoc"><p>Setting change. </p>
</td></tr>
<tr><td class="fieldname"><a id="a34112fbd78128ae58dc7801690dfa6e0a54d679e676c487407959422049e43956"></a>LOG_INFO_UID_SET&#160;</td><td class="fielddoc"><p>UID change. </p>
</td></tr>
<tr><td class="fieldname"><a id="a34112fbd78128ae58dc7801690dfa6e0a27bb078ecb411f03d2a81fb68d2644c8"></a>LOG_INFO_RESET_APP&#160;</td><td class="fielddoc"><p>Application reset. </p>
</td></tr>
<tr><td class="fieldname"><a id="a34112fbd78128ae58dc7801690dfa6e0a3b67fcd03ff3cc80231df3b7d9211380"></a>LOG_INFO_CODEC_RX_DATA&#160;</td><td class="fielddoc"><p>Currently active codec received data. </p>
</td></tr>
<tr><td class="fieldname"><a id="a34112fbd78128ae58dc7801690dfa6e0a40884a5af2a5bfa73ab4824a3adc71af"></a>LOG_INFO_CODEC_TX_DATA&#160;</td><td class="fielddoc"><p>Currently active codec sent data. </p>
</td></tr>
<tr><td class="fieldname"><a id="a34112fbd78128ae58dc7801690dfa6e0a84aebf39984089d411b7e12158cfbcfd"></a>LOG_INFO_CODEC_RX_DATA_W_PARITY&#160;</td><td class="fielddoc"><p>Currently active codec received data. </p>
</td></tr>
<tr><td class="fieldname"><a id="a34112fbd78128ae58dc7801690dfa6e0abbff6497a47c84b599fbf5f40e2e891e"></a>LOG_INFO_CODEC_TX_DATA_W_PARITY&#160;</td><td class="fielddoc"><p>Currently active codec sent data. </p>
</td></tr>
<tr><td class="fieldname"><a id="a34112fbd78128ae58dc7801690dfa6e0acfa9b06016b1d273136c33818355b8ca"></a>LOG_INFO_CODEC_READER_FIELD_DETECTED&#160;</td><td class="fielddoc"><p>Add logging of the LEDHook case for FIELD_DETECTED. </p>
</td></tr>
<tr><td class="fieldname"><a id="a34112fbd78128ae58dc7801690dfa6e0a7951ddf501dad656bc39a71cff430565"></a>LOG_INFO_APP_CMD_READ&#160;</td><td class="fielddoc"><p>Application processed read command. </p>
</td></tr>
<tr><td class="fieldname"><a id="a34112fbd78128ae58dc7801690dfa6e0abb646871507173fe4978b1342f238b7c"></a>LOG_INFO_APP_CMD_WRITE&#160;</td><td class="fielddoc"><p>Application processed write command. </p>
</td></tr>
<tr><td class="fieldname"><a id="a34112fbd78128ae58dc7801690dfa6e0a1d26816467effc0eeda47234d4124c8a"></a>LOG_INFO_APP_CMD_INC&#160;</td><td class="fielddoc"><p>Application processed increment command. </p>
</td></tr>
<tr><td class="fieldname"><a id="a34112fbd78128ae58dc7801690dfa6e0a0ac7629c5bdd53c593dcefe74bad7601"></a>LOG_INFO_APP_CMD_DEC&#160;</td><td class="fielddoc"><p>Application processed decrement command. </p>
</td></tr>
<tr><td class="fieldname"><a id="a34112fbd78128ae58dc7801690dfa6e0a3ff2f7a4ed2f210bb42e3d0a2ba45dc8"></a>LOG_INFO_APP_CMD_TRANSFER&#160;</td><td class="fielddoc"><p>Application processed transfer command. </p>
</td></tr>
<tr><td class="fieldname"><a id="a34112fbd78128ae58dc7801690dfa6e0a8c9c625c4f49bee6e75c8f418046e09c"></a>LOG_INFO_APP_CMD_RESTORE&#160;</td><td class="fielddoc"><p>Application processed restore command. </p>
</td></tr>
<tr><td class="fieldname"><a id="a34112fbd78128ae58dc7801690dfa6e0ae0eb650d8a75222cc52a238fa68ececa"></a>LOG_INFO_APP_CMD_AUTH&#160;</td><td class="fielddoc"><p>Application processed authentication command. </p>
</td></tr>
<tr><td class="fieldname"><a id="a34112fbd78128ae58dc7801690dfa6e0a3f1b700795995ca9308ca42a04bb67cb"></a>LOG_INFO_APP_CMD_HALT&#160;</td><td class="fielddoc"><p>Application processed halt command. </p>
</td></tr>
<tr><td class="fieldname"><a id="a34112fbd78128ae58dc7801690dfa6e0a51365dd939423069d8fe2c09f51c805b"></a>LOG_INFO_APP_CMD_UNKNOWN&#160;</td><td class="fielddoc"><p>Application processed an unknown command. </p>
</td></tr>
<tr><td class="fieldname"><a id="a34112fbd78128ae58dc7801690dfa6e0ac7581254deab15ea99afbd19bc094e04"></a>LOG_INFO_APP_AUTHING&#160;</td><td class="fielddoc"><p>Application is in <code>authing</code> state. </p>
</td></tr>
<tr><td class="fieldname"><a id="a34112fbd78128ae58dc7801690dfa6e0a0a39a14c93925e98d015e71f8d1a2857"></a>LOG_INFO_APP_AUTHED&#160;</td><td class="fielddoc"><p>Application is in <code>auth</code> state. </p>
</td></tr>
<tr><td class="fieldname"><a id="a34112fbd78128ae58dc7801690dfa6e0af91b96f88c44348cff7d0cc69cd55bf7"></a>LOG_ERR_APP_AUTH_FAIL&#160;</td><td class="fielddoc"><p>Application authentication failed. </p>
</td></tr>
<tr><td class="fieldname"><a id="a34112fbd78128ae58dc7801690dfa6e0af565feb6368681e1ed5f4a50fda9578a"></a>LOG_ERR_APP_CHECKSUM_FAIL&#160;</td><td class="fielddoc"><p>Application had a checksum fail. </p>
</td></tr>
<tr><td class="fieldname"><a id="a34112fbd78128ae58dc7801690dfa6e0a7c307a46c2553ef6e2ae16fc85ef9295"></a>LOG_ERR_APP_NOT_AUTHED&#160;</td><td class="fielddoc"><p>Application is not authenticated. </p>
</td></tr>
<tr><td class="fieldname"><a id="a34112fbd78128ae58dc7801690dfa6e0af5b5f1a9a7e2d733e4958427da66985f"></a>LOG_INFO_SYSTEM_BOOT&#160;</td><td class="fielddoc"><p>Chameleon boots. </p>
</td></tr>
<tr><td class="fieldname"><a id="a34112fbd78128ae58dc7801690dfa6e0aeb7af2cca9f4eb0e7dfd62d761f23eb5"></a>LOG_EMPTY&#160;</td><td class="fielddoc"><p>nor the two systick bytes nor any data. </p>
<p>Empty Log Entry. This is not followed by a length byte </p>
</td></tr>
</table>

</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Thu Mar 17 2022 12:03:24 for Chameleon-Mini by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.13
</small></address>
</body>
</html>
